package com.luzh.myorm.session;

/**
 * SQL会话，类似于 Connection
 */
public interface SqlSession {

    Configuration getConfiguration();
    
    <T> T selectOne(String statement);
    
    <T> T selectOne(String statement, Object parameter);
    
    <T> T getMapper(Class<T> type);

}
